Skip to content

Reduce typed app-server request serialization overhead - #34766

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/93859e512a4f20204e0db4f929a2baebe4374ec5
Jul 22, 2026
Merged

Reduce typed app-server request serialization overhead#34766
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/93859e512a4f20204e0db4f929a2baebe4374ec5

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 22, 2026

Copy link
Copy Markdown

Reduce typed app-server request serialization overhead

What changed

  • Use ClientRequest::method_name() directly when preparing typed request
    diagnostics for in-process and remote clients.
  • Allocate the owned method name only when constructing an error.
  • Remove the serialization-based method lookup and the redundant allocating
    ClientRequest::method() helper.

## What changed

- Use `ClientRequest::method_name()` directly when preparing typed request
  diagnostics for in-process and remote clients.
- Allocate the owned method name only when constructing an error.
- Remove the serialization-based method lookup and the redundant allocating
  `ClientRequest::method()` helper.

GitOrigin-RevId: 93859e512a4f20204e0db4f929a2baebe4374ec5
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/93859e512a4f20204e0db4f929a2baebe4374ec5 branch from eeba9b8 to e370d23 Compare July 22, 2026 14:51
@copyberry
copyberry Bot merged commit e370d23 into main Jul 22, 2026
32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/93859e512a4f20204e0db4f929a2baebe4374ec5 branch July 22, 2026 14:52
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants